man/config: Keep cmdsynopsis for GROUP.KEY version
authorJonathan Lebon <jonathan@jlebon.com>
Mon, 20 Aug 2018 15:17:29 +0000 (11:17 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Tue, 21 Aug 2018 10:36:12 +0000 (10:36 +0000)
It's nice to still show the previous usage since it's easier to type in
trivial cases like `core.mode`.

Closes: #1710
Approved by: sinnykumari

man/ostree-config.xml

index f052aebb9cf1d5e7743b7916b4aa046f00e1f29a..dc180b83bafab7577d68ec6b836aaf6f89f2272a 100644 (file)
@@ -50,9 +50,15 @@ Boston, MA 02111-1307, USA.
     </refnamediv>
 
     <refsynopsisdiv>
+            <cmdsynopsis>
+                <command>ostree config get</command> <arg choice="req">SECTIONNAME.KEYNAME</arg>
+            </cmdsynopsis>
             <cmdsynopsis>
                 <command>ostree config get</command> <arg choice="req"> --group=GROUPNAME</arg> <arg choice="req"> KEYNAME</arg>
             </cmdsynopsis>
+            <cmdsynopsis>
+                <command>ostree config set</command> <arg choice="req">SECTIONNAME.KEYNAME</arg> <arg choice="req">VALUE</arg>
+            </cmdsynopsis>
             <cmdsynopsis>
                 <command>ostree config set</command> <arg choice="req"> --group=GROUPNAME</arg> <arg choice="req"> KEYNAME</arg> <arg choice="req">VALUE</arg>
             </cmdsynopsis>
@@ -68,7 +74,8 @@ Boston, MA 02111-1307, USA.
 
     <refsect1>
         <title>Example</title>
-        <para><command>$ ostree config get --group=core mode</command></para>
+        <para><command>$ ostree config get core.mode</command></para>
         <para>bare</para>
+        <para><command>$ ostree config set --group='remote "myremote"' url http://example.com/repo</command></para>
     </refsect1>
 </refentry>